package cn.ejiakanghu.logistics.service;

import org.linlinjava.litemall.db.domain.AgedmallLgBaseInfo;
import org.linlinjava.litemall.db.domain.AgedmallLgReceiveOrder;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 配送
 *
 * @author houzb
 * @Description
 * @create 2021-11-04 9:19
 */
@Service
public interface DeliveryService {

    /**
     * 创建配送任务
     *
     * @param baseInfoId
     * @return
     */
    public List<Integer> createStartDeliverMiss(String orderCode, Integer baseInfoId);

    /**
     * 配送中
     *
     * @param manId
     * @param missionId
     * @param messageType
     * @param receiveType
     * @param execType
     */
    public void inDelivery(Integer manId, Integer missionId, Integer messageType, Integer receiveType, Integer execType);

    /**
     * 配送完成
     *
     * @param missionId
     */
    public void deliveryCompleted(Integer missionId);

}
